package com.jt.service;

import com.jt.pojo.Role;
import com.jt.vo.PageResult;

/**
 * @Author Happy Nest-ZhangJian
 * @Date 2021/12/8
 * @Update 2021/12/8 16:46
 * @Version 1.0
 */
public interface RoleService {

    PageResult getRoleList(PageResult pageResult);

    void updateRoleStatus(Role role);

    void saveItem(Role role);

    void updateRole(Role role);

    Role findRoleById(Integer roleId);

    void deleteRoleById(Integer id);

    String login(Role role);
}
